<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - 简约平台</title>
    <!-- 引入外部资源 -->
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>

<body class="bg-gray-50">
    <!-- 导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <!-- 品牌标识 -->
            <a href="#" class="flex items-center gap-2">
                <i class="fa fa-paper-plane text-blue-600 text-2xl"></i>
                <span class="text-xl font-bold text-gray-800">简约平台</span>
            </a>
            
            <!-- 桌面端导航链接 -->
            <nav class="hidden md:flex items-center gap-6">
                <a href="#" class="text-blue-600 font-medium">首页</a>
                <a href="#" class="text-gray-600 hover:text-blue-600 transition-colors">功能</a>
                <a href="#" class="text-gray-600 hover:text-blue-600 transition-colors">服务</a>
                <a href="#" class="text-gray-600 hover:text-blue-600 transition-colors">关于我们</a>
            </nav>
            
            <!-- 用户操作区 -->
            <div class="flex items-center gap-4">
                <a href="Login.html" class="text-gray-600 hover:text-blue-600 hidden md:block transition-colors">
                    登录
                </a>
                <!-- 注册跳转 -->
                <a href="Register.html" class="bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors hidden md:block">
                    注册
                </a>
                <!-- 移动端菜单按钮 -->
                <button class="md:hidden text-gray-600">
                    <i class="fa fa-bars text-xl"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 主横幅：修复注册跳转路径 -->
    <section class="bg-gradient-to-r from-blue-600 to-indigo-700 text-white py-16 md:py-24">
        <div class="container mx-auto px-4 text-center">
            <h1 class="text-[clamp(1.8rem,4vw,3rem)] font-bold mb-4">欢迎使用简约平台</h1>
            <p class="text-blue-100 text-lg md:text-xl max-w-2xl mx-auto mb-8">
                一站式解决方案，让您的工作与生活更高效、更简单
            </p>
            <div class="flex flex-col sm:flex-row justify-center gap-4">
                <a href="Register.html" class="bg-white text-blue-600 px-6 py-3 rounded-lg font-medium hover:bg-gray-100 transition-colors">
                    免费注册
                </a>
                <a href="#" class="bg-transparent border-2 border-white px-6 py-3 rounded-lg font-medium hover:bg-white/10 transition-colors">
                    了解更多
                </a>
            </div>
        </div>
    </section>

    <!-- 功能模块 -->
    <section class="py-12 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-2xl font-bold text-gray-800 text-center mb-12">核心功能</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div class="bg-gray-50 rounded-xl p-6 hover:shadow-md transition-shadow">
                    <div class="w-14 h-14 bg-blue-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-tachometer text-blue-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">高效管理</h3>
                    <p class="text-gray-600">智能分类与数据统计，提升工作效率</p>
                </div>
                <div class="bg-gray-50 rounded-xl p-6 hover:shadow-md transition-shadow">
                    <div class="w-14 h-14 bg-green-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-shield text-green-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">安全保障</h3>
                    <p class="text-gray-600">多重加密与权限控制，保护数据安全</p>
                </div>
                <div class="bg-gray-50 rounded-xl p-6 hover:shadow-md transition-shadow">
                    <div class="w-14 h-14 bg-purple-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fa fa-comments text-purple-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold text-gray-800 mb-2">即时协作</h3>
                    <p class="text-gray-600">实时沟通与协同编辑，优化团队协作</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 行动召唤区：修复注册跳转路径 -->
    <section class="py-16 bg-gray-50">
        <div class="container mx-auto px-4 text-center">
            <h2 class="text-2xl md:text-3xl font-bold text-gray-800 mb-4">准备好开始使用了吗？</h2>
            <p class="text-gray-600 max-w-xl mx-auto mb-8">加入我们，体验高效便捷的服务，立即注册享专属福利</p>
            <a href="Register.html" class="inline-block bg-blue-600 text-white px-8 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors">
                立即注册 <i class="fa fa-arrow-right ml-2"></i>
            </a>
        </div>
    </section>

    <!-- 页脚：修复登录和注册跳转路径 -->
    <footer class="bg-gray-800 text-gray-300 py-10">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center gap-2 mb-4">
                        <i class="fa fa-paper-plane text-blue-500 text-2xl"></i>
                        <span class="text-xl font-bold text-white">简约平台</span>
                    </div>
                    <p class="text-gray-400 mb-4">让工作与生活更简单、更高效的一站式平台</p>
                    <div class="flex gap-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-weixin text-xl"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-weibo text-xl"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors"><i class="fa fa-github text-xl"></i></a>
                    </div>
                </div>
                <div>
                    <h4 class="text-white font-semibold mb-4">账户</h4>
                    <ul class="space-y-2">
                        <li><a href="Login.html" class="text-gray-400 hover:text-white transition-colors">登录</a></li>
                        <li><a href="Register.html" class="text-gray-400 hover:text-white transition-colors">注册</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">账户设置</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-white font-semibold mb-4">资源</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">帮助中心</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用教程</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">API文档</a></li>
                    </ul>
                </div>
                <div>
                    <h4 class="text-white font-semibold mb-4">联系我们</h4>
                    <ul class="space-y-2">
                        <li class="flex items-start gap-2"><i class="fa fa-envelope text-blue-500 mt-1"></i><span class="text-gray-400">contact@example.com</span></li>
                        <li class="flex items-start gap-2"><i class="fa fa-phone text-blue-500 mt-1"></i><span class="text-gray-400">400-123-4567</span></li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-500 text-sm">
                <p>© 2025 简约平台 版权所有 | 京ICP备12345678号</p>
            </div>
        </div>
    </footer>
</body>
</html>